package com.example.springboot.exception;

import lombok.Getter;

/**
 * @Author: ShanYuqing
 * 自定义异常
 * @Version: v1.0
 */
@Getter
public class ServiceException extends RuntimeException {
    private String code;
    public ServiceException(String code,String msg){
        super(msg);
        this.code = code;
    }
}
